import tkinter as tk
def registerbox(msglst,title,buttonlst):
    master = tk.Tk()
    master.title(title)
    tk.Label(master, text=msglst[0]).grid(row=0)
    tk.Label(master, text=msglst[1]).grid(row=1)
    e1 = tk.Entry(master)
    e2 = tk.Entry(master)
    e1.grid(row=0, column=1, padx=10, pady=5)
    e2.grid(row=1, column=1, padx=10, pady=5)
    tk.Button(master, text=buttonlst[0], width=10).grid(row=3, column=0, sticky="w", padx=10, pady=5)
    tk.Button(master, text=buttonlst[1], width=10).grid(row=3, column=1, sticky="e", padx=10, pady=5)
    master.mainloop()
